package com.geovis.emergency.spd.entity.custom.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 资源查询 反参对象
 * </p>
 *
 * @author 曾德实
 * @since 2022-06-14 17:36:00
 */
@Getter
@Setter
@Accessors(chain = true)
@Builder
@ApiModel(value = "SearchResultDTO", description = "资源查询")
public class ResourceSearchResultDTO implements Serializable {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("tableRowId")
    private String tableRowId;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("类型编码")
    private String typeCode;

    @ApiModelProperty("类型名称")
    private String typeName;

    @ApiModelProperty("父类名称")
    private String parentTypeName;

    @ApiModelProperty("经度")
    private Double longitude;

    @ApiModelProperty("纬度")
    private Double latitude;

    @ApiModelProperty("距离,单位:km,当距离查询时才会返回距离")
    private Double distance;


}
